package com.qkl.xiatang.app.dto.device;

import lombok.Data;

@Data
public class SensorStatisticsInfoDTO {

    private String sensorId;

    private String sensorName;

    private String sensorTypeName;

    private Double normalMin;

    private Double normalMax;


    public static SensorStatisticsInfoDTO newDTO(String sensorId,String sensorName,String sensorTypeName,Double normalMin,Double normalMax){
        SensorStatisticsInfoDTO dto = new SensorStatisticsInfoDTO();
        dto.setSensorId(sensorId);
        dto.setSensorName(sensorName);
        dto.setSensorTypeName(sensorTypeName);
        dto.setNormalMin(normalMin);
        dto.setNormalMax(normalMax);
        return dto;
    }



}
